package com.itheima.controller;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Luojiawei
 * @Date 2023/10/8 10:26
 * @ClassName: Result
 * @Description: TODO
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    private Integer code;
    private Object data;
    private String msg;

    public Result( Integer code,Object data) {
        this.data = data;
        this.code = code;
    }

}
